package com.jnc.common.exception;

/**
 * @Author: jjn
 * @Date: 2018/10/30
 * @Desc: 自定义异常处理类
 */
public class BaseException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    private String message;  //异常信息

    public BaseException(){}

    public BaseException(String message){
        super(message);
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
